home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 9,300 to 9,399 / 9300.zip / AOLDLs / HTML & Web Tools (MAC) / HTML_ MTX Web Publishing Tool / MTX Tool 1.3.sit / MTX Tool 1.3 / guide / docs / tables.mtx < prev    next >
Text File  |  1996-02-22  |  3KB  |  113 lines

  1. %TITLE Tables
  2. %IMAGES ../images/
  3. %HOMEURL http://www.med.ufl.edu/medinfo/
  4. %PARENT Table of Contents
  5. %PARENTURL index.html
  6. %INDEX View MTX File
  7. %INDEXURL tables.mtx
  8. %PREVURL float.html
  9. %NEXTURL quest.html
  10. %AUTHOR Richard Rathe / rrathe@ufl.edu
  11. %AUTHURL rrathe@ufl.edu
  12. %VERSION MTX 1.3 User's Manual / Copyright 1996 by the University of Florida
  13. %PATH http://www.med.ufl.edu/medinfo/mtx/docs/
  14. %MTX 1.3
  15.  
  16. #Introduction
  17.  
  18. Tables are one of the most advanced HTML formatting capabilities. Tables consist
  19. of several elements:
  20.  
  21.     One or more {*cells*} arranged into {*rows*} and {*columns*}
  22.     Optional row and column {*headings*}
  23.     An optional {*border*}
  24.     An optional {*caption*}
  25.  
  26. Web browsers dynamically display tables based on the current window size, font
  27. selection, and other parameters. While it is possible to create exquisitely
  28. customized HTML tables, the communication value of a table tends to decrease in
  29. proportion to its complexity. MTX provides a simplified and flexible format for
  30. defining tables.
  31.  
  32. #MTX Table Format
  33.  
  34. Use a leading vertical bar (|) to tag lines that will become part of a table.
  35. Each new line becomes a row in the table. Use additional vertical bars (|) to
  36. delimit columns within each row of a table. Here is an example:
  37.  
  38. =|A Simple Table
  39. =|      |*col 1|*col 2|*col 3
  40. =|*row 1|one   |two   |three
  41. =|*row 2|four  |five  |six
  42. =|*row 3|seven |eight |nine
  43.  
  44. The first line of the table contains the caption and other formatting information.
  45. Leave this line empty or use the "none" switch to suppress the caption. Place a
  46. leading star (*) character in a cell to create a row or column heading. Empty
  47. cells will be blank unless they contain a single star (*) character. Use spaces
  48. to pad lines for better source file readability. Use the line break tag ▓BR│ to
  49. force a line break within a cell.
  50.  
  51. By default, tables will expand to fill 95% of the width of the current window.
  52. This can be overridden by using the "nowide" switch after the caption. The table
  53. border can be suppressd by using the "noborder" switch. These switches are
  54. combined in the "nowideborder" switch. Blank cells can be suppressed for the
  55. entire table by using the "noblanks" switch. Here are some examples:
  56.  
  57. =|A Skinny Table|nowide
  58. =|An Invisible Table|noborder
  59. =|A Skinny, Invisible Table|nowideborder
  60. =|A Table with No Blanks|noblanks
  61.  
  62. Tables are not universally available. Current versions of
  63. {#Netscape#netscape.html#} and NCSA Mosaic support tables. Web browsers from
  64. America Online and certain other online services do not.
  65.  
  66. #Examples
  67.  
  68. |A Simple Table
  69. |      |*col 1|*col 2|*col 3
  70. |*row 1|one   |two   |three
  71. |*row 2|four  |five  |six
  72. |*row 3|seven |eight |nine
  73.  
  74. {P}
  75.  
  76. |A More Complex Table
  77. |      |*col 1|*col 2|*col 3
  78. |*row 1|one{B}two{B}three|      |{=picture=}
  79. |*row 2|This is a long line of text that must all fit in the cell.|five  |six
  80. |*row 3|      |{#hypertext link#picture.html#}|nine
  81.  
  82. {P}
  83.  
  84. |A Skinny Table|nowide
  85. |      |*col 1|*col 2|*col 3
  86. |*row 1|one   |two   |three
  87. |*row 2|four  |five  |six
  88. |*row 3|seven |eight |nine
  89.  
  90. {P}
  91.  
  92. |An Invisible Table|noborder
  93. |      |*col 1|*col 2|*col 3
  94. |*row 1|one   |two   |three
  95. |*row 2|four  |five  |six
  96. |*row 3|seven |eight |nine
  97.  
  98. {P}
  99.  
  100. |A Skinny, Invisible Table|nowideborder
  101. |      |*col 1|*col 2|*col 3
  102. |*row 1|one   |two   |three
  103. |*row 2|four  |five  |six
  104. |*row 3|seven |eight |nine
  105.  
  106. {P}
  107.  
  108. |A Table with No Blanks|noblanks
  109. |      |*col 1|*col 2|*col 3
  110. |*row 1|||
  111. |*row 2||five|
  112. |*row 3|||
  113.